projects
/
pcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d13cfd7
)
Reduce parallel on mips* as they go OOM
author
Jochen Sprickerhof
<git@jochen.sprickerhof.de>
Sat, 8 Dec 2018 09:43:17 +0000
(10:43 +0100)
committer
Jochen Sprickerhof
<git@jochen.sprickerhof.de>
Sat, 8 Dec 2018 09:43:17 +0000
(10:43 +0100)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index f99cfd300892abaf76d4fd908b974f03fcba86fd..8777083156725bd0f901abbc2865d31dab0a0364 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-13,8
+13,11
@@
CXXFLAGS+=$(CPPFLAGS)
BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON)
-# Multiarch.
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
+ PARALLEL=--max-parallel=2
+else
+ PARALLEL=
+endif
.PHONY: override_dh_auto_configure \
override_dh_install \
@@
-89,4
+92,4
@@
override_dh_installchangelogs:
%:
- dh $@ --builddirectory=build
+ dh $@
$(PARALLEL)
--builddirectory=build